package shop.local.valueobjects;

import java.io.Serializable;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

public class ArtikelListe extends HashMap<Integer, Artikel>  implements Serializable {
    
    private static final long serialVersionUID = 1652849323161576353L;

    public ArtikelListe() {}
	
	// toString Methode Ueberschrieben
	public String toString() {
		String result = "";
		String zeilenEnde = System.getProperty("line.separator");
		for (int i = 1; i <= this.size(); i++) {
			result = result + this.get(i) + zeilenEnde;
		}
		return result;
	}
	
}
